package filter;

public class AndFilterExpression<T> extends FilterExpression<T> {

	@Override
	public boolean matchesCriteria(T object) {
		for (Filter<T> filter : filters) {
			if (!filter.matchesCriteria(object)) {
				return false;
			}
		}
		return true;
	}

}